﻿@model string
<style type="text/css">.file-upload { }</style>
<div class="file-upload" data-href="@Url.Content("~/Uploads/")">
    <a class="no-link" href="<%if(Name.length==0){%>#<%}else{%>@Url.Content("~/Uploads/")<%=FileName%><%}%>" title="<%=Name%>"><%=Name%></a>
    <span data-href="@Url.Action(MVC.Shared.FileUpload())" >
        <input type="file" value=""/>
        <span>Upload</span>
    </span>
    <input  type="hidden" name="@ViewData.ModelMetadata.PropertyName" value="@Model"/>
</div>
